<div class="gallery" data-bind="dxGallery: { loop: true, dataSource: galleryData }"></div><br/>
<div data-bind="dxButton: { text: 'Prev item', onClick: showPrevItem }"></div>